package org.hj.modules.generatecode.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

import cn.afterturn.easypoi.excel.annotation.Excel;

import org.springframework.format.annotation.DateTimeFormat;


/**
 * @Description: UI属性
 * @Author: gaobw
 * @Date:   2020-06-16
 * @Version: V1.0
 */
@Data
@TableName("view_uiproperties")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="view_uiproperties对象", description="UI属性")
public class ViewUiproperties {
    
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**字段名称*/
	@Excel(name = "字段名称", width = 15)
    @ApiModelProperty(value = "字段名称")
	private String uiFieldname;
	/**字段名称*/
	@Excel(name = "字段名称大写", width = 15)
	@ApiModelProperty(value = "字段名称大写")
	private String fieldName;
	/**字段名称*/
	@Excel(name = "字段名称", width = 15)
    @ApiModelProperty(value = "字段名称")
	private String uiFieldcomment;
	/**字段类型*/
	@Excel(name = "字段类型", width = 15)
    @ApiModelProperty(value = "字段类型")
	private String uiFieldtype;
	/**必填项*/
	@Excel(name = "必填项", width = 15)
    @ApiModelProperty(value = "必填项")
	private String uiNotnull;
	/**应用视图*/
	@Excel(name = "应用视图", width = 15)
    @ApiModelProperty(value = "应用视图")
	private String uiAppview;
	/**应用列表页*/
	@Excel(name = "应用列表页", width = 15)
    @ApiModelProperty(value = "应用列表页")
	private String uiApplist;
	/**应用表单页*/
	@Excel(name = "应用表单页", width = 15)
    @ApiModelProperty(value = "应用表单页")
	private String uiForm;
	/**只读*/
	@Excel(name = "只读", width = 15)
    @ApiModelProperty(value = "只读")
	private String uiOnlyread;
	/**默认值*/
	@Excel(name = "默认值", width = 15)
    @ApiModelProperty(value = "默认值")
	private String uiDefaultvalue;
	/**UI类型*/
	@Excel(name = "UI类型", width = 15)
    @ApiModelProperty(value = "UI类型")
	private String uiUitype;
	/**正则表达式*/
	@Excel(name = "正则表达式", width = 15)
    @ApiModelProperty(value = "正则表达式")
	private String uiExpression;
	/**下拉框、自动完成调用方法*/
	@Excel(name = "下拉框、自动完成调用方法", width = 15)
    @ApiModelProperty(value = "下拉框、自动完成调用方法")
	private String uiSelectfunc;
	/**uiCreateuser*/
	@Excel(name = "uiCreateuser", width = 15)
    @ApiModelProperty(value = "uiCreateuser")
	private String uiCreateuser;
	/**uiCreatetime*/
	@Excel(name = "uiCreatetime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "uiCreatetime")
	private Date uiCreatetime;
	/**表名称*/
	@Excel(name = "表名称", width = 15)
	@ApiModelProperty(value = "表名称")
	private String uiTable;

	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
	private Integer uiOrder;

	/**主表id*/
	@Excel(name = "主表id", width = 15)
	@ApiModelProperty(value = "主表id")
	private String parentId;

	/**是否是明细表*/
	@Excel(name = "是否是明细表", width = 15)
	@ApiModelProperty(value = "是否是明细表")
	private String isDetailed;

}
